package com.power.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.power.domain.Area;
import com.power.mapper.AreaMapper;
import com.power.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaServiceImpl extends ServiceImpl<AreaMapper, Area> implements AreaService {
    @Autowired
    private  AreaMapper areaMapper;

    @Override
    public List<Area> getList() {
        List<Area> areas = areaMapper.selectList(null);
        return areas;
    }
}



